package bootstrap

import (
	"card/config"
	"card/pkg/logger"
)

func SetupLogger() {
	logger.NewLog(
		config.Application.Log.LogPath,
		config.Application.Log.MaxSize,
		config.Application.Log.MaxBackup,
		config.Application.Log.Compress,
		config.Application.Log.Type,
		config.Application.Log.Level).InitLogger()
}
